package com.example.yilu1;

public class User {
    private String id;
    private String name;
    private String password;
    private String remarks;
    private int imageId;
    private String taobaoId,jdId,suningId,pddId;

    User(){
        id="00000000000";
        name="测试账户";
        password="test";
        remarks="该用户很懒，什么都没留下。";
        imageId=R.drawable.user_example;
        taobaoId="tb786590990";
        jdId="京东用户78993";
        suningId="#jhd358973";
        pddId="";
    }

    User(String _id, String _name, String _password,
        String _remarks,int _imageId){
        id=_id;
        name=_name;
        password=_password;
        remarks=_remarks;
        imageId=_imageId;
        taobaoId="";
        jdId="";
        suningId="";
        pddId="";
    }

    User(String _id, String _name, String _password,int _imageId){
        id=_id;
        name=_name;
        password=_password;
        imageId=_imageId;
        taobaoId="";
        jdId="";
        suningId="";
        pddId="";
    }

    public String getId(){
        return id;
    }

    public String getName(){
        return name;
    }

    public boolean changePassword(){
        /*待补充*/
        return true;
    }

    public String getRemarks(){
        return remarks;
    }

    public int getImageId(){
        return imageId;
    }

    public String getTaobaoId(){
        return taobaoId;
    }

    public String getJdId(){
        return jdId;
    }

    public String getSuningId(){
        return suningId;
    }

    public String getPddId(){
        return pddId;
    }

    void setTaobaoId(){}
    void setJdId(){}
    void setSuningId(){}
    void setPddId(){}
}
